AM_CPPFLAGS = \
	-I$(top_srcdir)/src/libstrongswan \
	-I$(top_srcdir)/src/libcharon/plugins/counters \
	-I$(top_srcdir)/src/libcharon \
	-I$(top_srcdir)/src/stroke \
	-DIPSEC_CONFDIR=\"/system/etc/strongswan\" \
	-DIPSEC_PIDDIR=\"${piddir}\"

AM_CFLAGS = \
	$(PLUGIN_CFLAGS)

if MONOLITHIC
noinst_LTLIBRARIES = libstrongswan-stroke.la
else
plugin_LTLIBRARIES = libstrongswan-stroke.la
endif

libstrongswan_stroke_la_SOURCES = \
	stroke_plugin.h stroke_plugin.c \
	stroke_socket.h stroke_socket.c \
	stroke_config.h stroke_config.c \
	stroke_control.h stroke_control.c \
	stroke_cred.h stroke_cred.c \
	stroke_ca.h stroke_ca.c \
	stroke_attribute.h stroke_attribute.c \
	stroke_handler.h stroke_handler.c \
	stroke_counter.h stroke_counter.c \
	stroke_list.h stroke_list.c

libstrongswan_stroke_la_LDFLAGS = -module -avoid-version
